package com.zdya.combatdocuments.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 文书库表
 */
@Data
@TableName("document")
public class Document {

    @ApiModelProperty(value = "主键")
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "编号")
    private String serialNum;

    @ApiModelProperty(value = "文书名称")
    private String name;

    @ApiModelProperty(value = "类别")
    private Integer type;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "暗语")
    private String argot;

    @ApiModelProperty(value = "发送方要素")
    private String fromElement;

    @ApiModelProperty(value = "发送方席位")
    private String fromSeat;

    @ApiModelProperty(value = "接收方要素")
    private String toElement;

    @ApiModelProperty(value = "接收方席位")
    private String toSeat;

    @ApiModelProperty(value = "文书地址")
    private String path;

    @ApiModelProperty(value = "阶段")
    private String stage;

    @ApiModelProperty(value = "状态：0-未审批；1-审批中；2-审批结束")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private Long createDate;

    @ApiModelProperty(value = "创建用户")
    private Long createUser;

    @ApiModelProperty(value = "网络Id")
    private Long netId;

    @ApiModelProperty(value = "文书等级")
    private String docGrade;

    @ApiModelProperty(value = "发送方账号")
    private String fromName;

    @ApiModelProperty(value = "接收方账号")
    private String toName;




}
